import http from "./http";
const api = {
  // 轮播图信息
  getswiper(parmas) {
    return http.get(
      "https://www.fastmock.site/mock/bfead5e10695c1fb3559bf7c39d7211d/api/lunbo",
      parmas
    );
  },
  //首页推荐阅读信息
  getreadinfo(parmas) {
    return http.get(
      "https://www.fastmock.site/mock/bfead5e10695c1fb3559bf7c39d7211d/api/Recommendedreading",
      parmas
    );
  },
  //邀请有礼页面信息
  getpolite(parmas) {
    return http.get(
      "https://www.fastmock.site/mock/bfead5e10695c1fb3559bf7c39d7211d/api/invite",
      parmas
    );
  },
  getdiamond(parmas) {
    return http.get(
      "https://www.fastmock.site/mock/bfead5e10695c1fb3559bf7c39d7211d/api/diamond",
      parmas
    );
  },
  gettrain(parmas) {
    return http.get(
      "https://www.fastmock.site/mock/bfead5e10695c1fb3559bf7c39d7211d/api/train",
      parmas
    );
  },
};
export default api;
